package io.bdmc.modules.bss.mapper;

import io.bdmc.modules.bss.entity.FibreFibre;
import io.bdmc.modules.bss.model.LabelValue;
import org.apache.ibatis.annotations.Param;
import io.bdmc.common.utils.MyPage;
import java.util.HashMap;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 光缆 Mapper 接口
 * </p>
 *
 * @author ping
 * @since 2020-07-02
 */
public interface FibreFibreMapper extends BaseMapper<FibreFibre> {

    MyPage<FibreFibre> mySelectPage(@Param("myPage") MyPage<FibreFibre> myPage);

    List<HashMap<String, Object>> ztree(@Param("deptId") int deptId);

    List<LabelValue> combo(@Param("deptId") int deptId);

    List<FibreFibre> listByDeptId(@Param("deptId") int deptId);

    HashMap<String, Object> fibreLengthSum(@Param("deptId") Long deptId);
}
